package house.entity;

import java.util.Date;

/**
 * House entity. @author MyEclipse Persistence Tools
 */

public class House implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer userId;
	private Integer typeId;
	private String title;
	private String descriprion;
	private Double price;
	private Date pubdate;
	private Date addtimes;
	private Float floorage;
	private String contact;
	private Integer streetId;

	// Constructors

	/** default constructor */
	public House() {
	}

	/** full constructor */
	public House(Integer userId, Integer typeId, String title,
			String descriprion, Double price, Date pubdate, Date addtimes,
			Float floorage, String contact, Integer streetId) {
		this.userId = userId;
		this.typeId = typeId;
		this.title = title;
		this.descriprion = descriprion;
		this.price = price;
		this.pubdate = pubdate;
		this.addtimes = addtimes;
		this.floorage = floorage;
		this.contact = contact;
		this.streetId = streetId;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getTypeId() {
		return this.typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescriprion() {
		return this.descriprion;
	}

	public void setDescriprion(String descriprion) {
		this.descriprion = descriprion;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Date getPubdate() {
		return this.pubdate;
	}

	public void setPubdate(Date pubdate) {
		this.pubdate = pubdate;
	}

	public Date getAddtimes() {
		return this.addtimes;
	}

	public void setAddtimes(Date addtimes) {
		this.addtimes = addtimes;
	}

	public Float getFloorage() {
		return this.floorage;
	}

	public void setFloorage(Float floorage) {
		this.floorage = floorage;
	}

	public String getContact() {
		return this.contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public Integer getStreetId() {
		return this.streetId;
	}

	public void setStreetId(Integer streetId) {
		this.streetId = streetId;
	}

}